package com.zzu.presenter;

import okhttp3.ResponseBody;
import retrofit2.Call;

/**
 * @description:
 * @author: bytedance
 * @date: 2021-05-07 20:20
 * 注册监听事件
 */
public interface UserResponseListener<T> {

    //登陆和注册请求的回调方法
    void onResponse(T response);

    void onFailure(Throwable t);
}
